#ifndef _CMAP_H_
#define _CMAP_H_

#include <vector>
#include "Game Objects\CNode.h"
#include "Messaging\IListener.h"

class CMap : public IListener
{
private:
	std::vector<CNode*> m_vNodes;
	int imageID;
	CNode* currNode;
public:
	CMap(void);
	~CMap(void);
	bool Load(const char* szXmlFileName);
	void render();
	void update(float fElapsedTime);
	CNode* getcurNode(){return currNode;}
	std::vector<CNode*>* getNodes(){return &m_vNodes;}
	void HandleEvent(CEvent* pEvnt);
	void killmap();

};

#endif